<!DOCTYPE html>
<html lang="zh-cn">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>按钮</title>
    <style>
      .btn {
        padding: 6px 12px;
        border-width: 1px;
        border-style: solid;
        margin: 4px 2px;
        color: #ffff;
        border-radius: 8px;
        cursor: pointer;
      }
      .btn-primary {
        padding: 6px 12px;
        border-width: 1px;
        border-style: solid;
        margin: 4px 2px;
        color: #ffff;
        background-color: #0d6efd;
        border-radius: 8px;
        cursor: pointer;
        border-color: #0d6efd;
      }
      .btn-primary:hover {
        background-color: #0b5ed7;
        border-color: #0b5ed7;
      }
      .btn-danger {
        border-color: #dc3545;
        background-color: #dc3545;
      }
      .btn-danger:hover {
        border-color: #a32935;
        background-color: #a32935;
      }
    </style>
  </head>
  <body>
    <button class="btn-primary btn">编辑</button>
    <button class="btn-danger btn">删除</button>
    <button>启用</button>
  </body>
</html>
